#include "MulDimArray.h"
#include <iostream>
using namespace std;

MulDimArray::MulDimArray()
//  creates a 4x4 matrix and sets each element to 0
{
   rows = 4;
   cols = 4;
   int i, r, c = 0;
   mul_ptr = new int *[rows];
   
   for (i; i < rows; i++)
   mul_ptr[i] = new int [cols];
   
   for (r; r < rows; r++)
   {
       for (c; c < cols; c++)
       mul_ptr[r][c] = 0;
   }
}
MulDimArray::MulDimArray (int rows, int cols, int val)
{
   this -> rows = cols;
   this -> cols = rows;
   mul_ptr = new int *[rows];
   int i = 0;
   
   for (i; i < rows; i++)
   mul_ptr[i] = new int [cols];
}
int main (void)
{
 }
